import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
//自动导入Element Plus组件
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App)
app.use(ElementPlus)//Element Plus库
app.use(createPinia())//pinia
app.use(router)//路由

app.mount('#app')
